SrvDaemon.py:
Disable kill of xenstored on xend exit.
xu.c:
Set error reason in failure case.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
fail1:
PyObject_Del((PyObject *)xup);
- return NULL;
+ PyErr_SetString(PyExc_ValueError, "cannot create port");
+ return NULL;
}
static PyObject *xu_port_getattr(PyObject *obj, char *name)
def cleanup(self, kill=False):
self.cleanup_xend(kill=kill)
- self.cleanup_xenstored(kill=kill)
+ #self.cleanup_xenstored(kill=kill)
def status(self):
"""Returns the status of the xend daemon.